-
Home
-
WP 2FA – Two-factor authentication for WordPress
-
1.7.0
-
Code
-
Classes
- WP2FA
Total Complexity |
186 |
Dependencies |
16 |
Dependents |
17 |
Total lines |
977 |
Lines of code |
627 |
Logical lines of code |
382 |
Comment lines |
201 |
Methods |
20 |
Properties |
6 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
isUserEnforced() |
D |
25 |
55 |
143 |
is_user_excluded() |
C |
36 |
29 |
76 |
block_unconfigured_users_from_admin() |
B |
46 |
18 |
33 |
add_actions() |
A |
38 |
11 |
61 |
handle_send_test_email_ajax() |
A |
45 |
12 |
39 |
get_wp2fa_email_templates() |
A |
40 |
9 |
58 |
get_wp2fa_setting() |
A |
51 |
10 |
28 |
replace_email_strings() |
A |
45 |
8 |
42 |
__construct() |
S |
58 |
6 |
14 |
setup_redirect() |
S |
55 |
5 |
19 |
init() |
S |
54 |
4 |
20 |
update_usermeta_if_required() |
S |
61 |
4 |
11 |
getDefaultSettings() |
S |
48 |
1 |
35 |
getNumberOfPluginsText() |
S |
58 |
2 |
17 |
add_wizard_actions() |
S |
71 |
3 |
5 |
getMultiSites() |
S |
66 |
3 |
9 |
get_instance() |
S |
71 |
2 |
6 |
is_this_multisite() |
S |
79 |
2 |
3 |
wp_2fa_get_roles() |
S |
74 |
1 |
5 |
getAllSettings() |
S |
80 |
1 |
3 |